package com.android.physics;

import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;

public class PhysicsObject implements IPhysicsObject
{
    private static Paint BLACK_PAINT;
    static
    {
        Paint paint = new Paint();
        paint.setColor(Color.BLACK);
        BLACK_PAINT = paint;
    }
    
    private int mWidth;
    private int mHeight;
    
    public PhysicsObject()
    {
    }
    
    public void setSize(int width, int height)
    {
        mWidth = width;
        mHeight = height;
    }
    
    public int getWidth()
    {
        return mWidth;
    }
    
    public int getHeight()
    {
        return mHeight;
    }
    
    public void draw(Canvas canvas)
    {
        canvas.drawRect(0, 0, mWidth, mHeight, BLACK_PAINT);
    }
}
